#ifndef BONUS_H_
#define BONUS_H_

#include <iostream>
#include "Contenido.h"
#include "BonusModel.h"

class Bonus : public Contenido{

	private:
		
	protected:
		std::string* nombre;
		int valor ;
		BonusModel* bonusModel;
		
		Bonus(){}

	public:
		
		Bonus(std::string nombre){
			this->valor = 100 ;
			this->nombre = new string(nombre);
			this->bonusModel = 0;
		}

		std::string getNombre(){
		
			return this->nombre->c_str();
		}

		int getValor(){
			return this->valor;
		}
		
		void imprimir(){
			this->resolverTextura();
		}
		
		void imprimir2(){

			std::cout<< this->getTextura()<< " ";
		}

		bool esCamino(){
			return true;
		}

		void setBonusModel(BonusModel* bModel){
			this->bonusModel = bModel;
		}

		BonusModel* getBonusModel(){
			return this->bonusModel ; 
		}

		~Bonus(){
			delete this->nombre ;
			delete this->bonusModel ;
		}
};

#endif